# Makefile
# author: pgarcia@eside.deusto.es
CC=g++
LDFLAGS=-L../../util -lm -lpthread -lesidesocket -lesidethread -lesidesqlite
INCLUDE=-I../../util

main: AuthenticationServer 

AuthenticationServer: AuthenticationServer.o
	$(CC) AuthenticationServer.o $(LDFLAGS) -o AuthenticationServer

AuthenticationServer.o: AuthenticationServer.cc AuthenticationServer.h
	$(CC) $(INCLUDE) -c AuthenticationServer.cc

clean:
	rm *.o
	rm AuthenticationServer
	rm *.exe